Latest Questions

Create a site term column with graph API

I'm trying to add a new column to a site using MS Graph API. I followed the docs, which shows a Text column example, and that works. When I try to add a Term co

Transpose the row data to column

I have below a list of data(Sample data) in a single column in multiple rows in excel. I would like to categorize data into multiple columns like Type, Amount,

Integrate jsdoc into docsify

Im trying to document my node.js/javascript application. The frontend is a vue app & backend a node.js app. I use jsdoc to document classes/modules etc. and

Permission Denied when opening logs in minikube Nodes

When I am trying to access my logs inside minikube folder I am getting this permission denied error. docker@minikube:/var/log/containers$ cat ltservice-68d7dd45

How to use mysqli connection with SSL

I'm trying to make a secure connection with my database I wrote the following code: <?php // form filled? if (isset($_POST['submit'])) { $user = 'gebrui

why sites are not displayed correctly on heroku

I'm new to Java development. I made an application that checks the functionality of sites. When you start the Spring application, all sites work and display cor

Tkinter: access specifc widgets created with for loop

In my tkinter project I've created an Entry, a Label and two Buttons for each of the line in my line list using a for loop. I've also saved them in a list when

command not found: if when running package.json script with Yarn v3 (berry)

I upgraded our projects yarn from v1.22 to v3.1.1. We use workspaces, so I have that plugin. Everything seems fine; other scripts work but when trying to use sh

Bootstrap extension file

Why is my css file in bootstrap folder 5.1.3-dist not bringing bootstrap.min.css on windows 7 I am using the boostrap file on a particular desktop using windows

Prolog: replace the nth item in the list with the first

I'd like to have a Prolog predicate that can replace the nth item in the list with the first. Example: % replace(+List,+Counter,-New List, %-First Item). ?- rep

How to access document and element variable when using javscript kernel

When using the python3 kernel the following code works: %%js let b = document.createElement("b") b.textContent="Hi there!" element.append("A test:") element.app

Importing Adam and ImageDataGenerator on google colab failed

I'm implementing a UNet neural network but I'm having some issues while importing libraries. I found a solution for a couple of them, but I still have a problem

Bruteforce python shuffle function

Hello I was wondering how to revert a string that was shuffled with the random.shuffle() function from python. I know that the original string was shuffled with

Why does let not allow mutually recursive definitions, whereas letrec can?

I suspect that I fundamentally misunderstand Scheme's evaluation rules. What is it about the way that let and letrec are coded and evaluated that makes letrec a

Fastlane. No such file or directory - GIT_TERMINAL_PROMPT=0, can't clone repository

When I run fastlane to build project, I get error: C:\Users\Me\AndroidStudioProjects\MyProject\MyProject-android>fastlane staging app:MyApp [✔] Ԇ

Can't get thymeleaf parameter in href from model attribute

I'm new to thymeleaf. I can't get systemId in th:href ,but I can do it in <p th:text... What's the problem? Pls, help My code Result

AAPT2 error when building Android App on ARM64

I have a Drone.io build CI / CD on a ARM64 based CPU (Oracle) and in the Docker I have Java 11 and latest commandline tools from Google. When I run the command:

Formidable returns TypeError, ERR_INVALID_ARG_TYPE: The "path" argument is undefined

I'm having trouble uploading files using formidable. I'm on Windows server 2016. My code, which in its entirely is shown below, is based on https://www.geeksfor

Convert AVAudioPCMBuffer into MLMultiArray and get prediction from CoreML model

I try to send AVAudioPCMBuffer into a coreML model and get the output from it. Input of the model is MultiArray (Float32 0 × 64 × 0) and output is M

How can I sort the order of links based on the user's number of clicks and save it to local storage using JavaScript?

I'm trying to add the feature to sort the order of links in a specific div based on the number of times a user clicked a link. It's to pin to top Favorite links

How to list objects in Google Cloud Storage from PHP

I am trying to list objects in a folder within a Google Cloud Storage bucket. I can get a result with 1000 objects easily (or increase the number if I want) usi

Could not load file or assembly 'NLog.Web.AspNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c'

I'm upgrading my solution from .NET 5 to .NET 6 and getting the error at runtime Unhandled exception. System.IO.FileNotFoundException: Could not load file or a

My Python library will not load and adding path to .zprofile did not work

I've had python 3 insalled on my system for a few months and have never had an issue importing libraries before. After using pip3 to install pygame, IDLE couldn

Converting a PNG Sequence to a VDB and keeping all colors in Houdini

I have this volume wrangle setup running through a .png sequence and generating a volume from that where the color is ramped to the density value. int f = 15;

Something goes weird with my decals when I change FOV

I'm on v2019.4.30f1, am using the old render pipeline (i.e. not urp nor hdrp) and using the blood decals from this pack: https://assetstore.unity.com/packages/v

Update array of ManyToMany field in Django REST framework

I have a Model Plot which looks like this: from django.db import models class Plot(models.Model): class SUNSHINE(models.TextChoices): NONE = N

React Select Overlaps With Label

I am using react-select ^5.1.0 and my options and values are displayed well. I have a small issue when scrolling the options, a select word overlapps the option

Cannot read property of undefined data() Firebase

I'm trying to implement redux saga in my old project and i get strange error. I'm getting back the userData with all user details but my middleware logger tells

How does a JavaScript object have different keys and values when opened in the Firefox developer tools? [duplicate]

I am creating a deck of card objects in JavaScript. Why do all the objects hold the same keys and values? Here is my code for(

How to get a JWT token from one server to another in order to validate APIs which is running on different ports in node & express?

I have two modules in two different server i.e., User and transaction module. User module has one Login API which generates the JWT token, Now I want to send th